﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site_Usuario.Master" Inherits="System.Web.Mvc.ViewPage<Proyecto_e.Models.usuario>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> Inicio >> Administrar Encuesta >> Editar Usuarios

<h2>Editar</h2>

<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>

<% using (Html.BeginForm()) { %>
<form >
<table>
<tr>
    <td>Usuario: </td>
    <td><%: Html.EditorFor(model => model.LOGIN) %></td>
</tr>
<tr>
    <td>Contrasena:</td>
    <td><%: Html.EditorFor(model => model.PASSWORD) %></td>
</tr>
<tr>
    <td>Nombres:</td>
    <td><%: Html.EditorFor(model => model.NOMBRES) %></td>
</tr>
<tr>
    <td>Apellidos:</td>
    <td><%: Html.EditorFor(model => model.APELLIDOS) %></td>
</tr>
<tr>
    <td>Edad:</td>
    <td><%: Html.EditorFor(model => model.EDAD) %></td>
</tr>
<tr>
    <td>Sexo:</td>
    <td><%: Html.EditorFor(model => model.SEXO) %></td>
</tr>
<tr>
    <td>Email:</td>
    <td><%: Html.EditorFor(model => model.EMAIL) %></td>
</tr>
<tr>
    <td>Telefono:</td>
    <td><%: Html.EditorFor(model => model.TELEFONO) %></td>
</tr>
<tr>
    <td><input type="submit" value="Cancelar"/></td>
    <td><input type="submit" value="Editar"/></td>
</tr>
</table>
</form>

<!--
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>usuario</legend>

        <%: Html.HiddenFor(model => model.ID_USUARIO) %>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.LOGIN) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.LOGIN) %>
            <%: Html.ValidationMessageFor(model => model.LOGIN) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.PASSWORD) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.PASSWORD) %>
            <%: Html.ValidationMessageFor(model => model.PASSWORD) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.NOMBRES) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.NOMBRES) %>
            <%: Html.ValidationMessageFor(model => model.NOMBRES) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.APELLIDOS) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.APELLIDOS) %>
            <%: Html.ValidationMessageFor(model => model.APELLIDOS) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.EDAD) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.EDAD) %>
            <%: Html.ValidationMessageFor(model => model.EDAD) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.SEXO) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.SEXO) %>
            <%: Html.ValidationMessageFor(model => model.SEXO) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.EMAIL) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.EMAIL) %>
            <%: Html.ValidationMessageFor(model => model.EMAIL) %>
        </div>

        <div class="editor-label">
            <%: Html.LabelFor(model => model.TELEFONO) %>
        </div>
        <div class="editor-field">
            <%: Html.EditorFor(model => model.TELEFONO) %>
            <%: Html.ValidationMessageFor(model => model.TELEFONO) %>
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
<% } %>

<div>
    <%: Html.ActionLink("Back to List", "Index") %>
</div>
-->
</asp:Content>

